﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PelitaProduksi.View.Panel
{
    public partial class General : Form
    {
        public Main main;
        public int code;
        public General(Main main, int code)
        {
            InitializeComponent();
            this.main = main;
            this.code = code;
        }
        ~General()
        {
            this.main.LIST_FORMS.Remove(this.code);
            this.main.CODE--;
        }
    }
}
